package org.lanplay.server.model;

import java.util.Set;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.ManyToMany;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Entity
@Data
@EqualsAndHashCode(callSuper=true)
public class GameModification extends BaseVersionedIdentifiable {
	private static final long serialVersionUID = 1L;

	private String name;
	
	@ManyToMany(cascade=CascadeType.DETACH)
	private Set<Game> game;
}
